﻿using Raven.Client.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using TinyRadio.Models;

namespace TinyRadio.Web.Controllers
{
    public class RadioStationsController : RavenApiController
    {
        public Task<IList<RadioStation>> Get()
        {
            return DocumentSession.Query<RadioStation>().ToListAsync();
        }
    }
}